home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 015 / pprint2.arc / PPRINT.DOC next >
Encoding:
Text File  |  1987-03-07  |  12.2 KB  |  376 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.                                   P P R I N T
  20.  
  21.                                        by
  22.  
  23.                                  Norm Patriquin
  24.  
  25.  
  26.  
  27.                                    Version 2.0
  28.                                    March 1987
  29.  
  30.  
  31.  
  32.  
  33.                        Support BBS --  Patriquin's BBS
  34.                                        714-369-9766 (DATA)
  35.  
  36.  
  37.  
  38.  
  39.                        Copyright 1987 by Norm Patriquin
  40.  
  41.  
  42.                                                                 Page  1
  43.  
  44.  
  45.       PPRINT
  46.       ------
  47.  
  48.       PPRINT is a general purpose print utility that can be used with
  49.       HP laser or other printers.
  50.  
  51.       PPRINT will scan a directory and select files for printing.
  52.       Print control parameters govern the print process.  A special
  53.       print feature for the HP laserjet printer allows printing
  54.       two pages on both halves of a side of paper.  This is especially
  55.       nice for printing large documents as it saves paper and print
  56.       time.
  57.  
  58.  
  59.       Command Parameters
  60.       ------------------
  61.  
  62.       PPRINT allows several command parameter switches to be specified
  63.       to customize the process.  All these parameters are optional.
  64.       The command format and switch parameters are described below.  A
  65.       quick review of command parameters is always available by
  66.       entering the PDEL command with no parameters.
  67.  
  68.       COMMAND FORMAT:
  69.  
  70.       PPRINT  filespec  [ (/ switches) ]
  71.  
  72.  
  73.       filespec  Enter a DOS file specification.  Pathnames and
  74.                 standard DOS wildcard characters are allowed.
  75.  
  76.  
  77.       /BM:nn    Number of lines of bottom margin
  78.  
  79.  
  80.       /C        Sends 015 code to printer to force compressed print.
  81.                 Use on dot matrix printers only.
  82.  
  83.  
  84.       /DS       Double space printed output
  85.                                                                 Page  2
  86.  
  87.  
  88.       /D:[(]xxx Date.  Select files based on the relationship between
  89.          [)]    their last update date and the date specified.  This
  90.          [=]    parameter includes a date or number of days value.
  91.                 It may also contain a modifier that reverses or
  92.                 modifies the use of the date specified.
  93.  
  94.                 When xxx contains a date the date is compared to the
  95.                 last update date of the file.  The last update date
  96.                 of the file is the date contained in its directory
  97.                 entry.  The file is selected if the condition specified
  98.                 by the condition modifier is met.  The condition
  99.                 modifier meanings are:
  100.  
  101.                   '(' =  Select files whose date is older than the
  102.                          date specified.
  103.  
  104.                   ')' =  Select files whose date is newer than the
  105.                          date specified.
  106.  
  107.                   '=' =  Select files whose date is equal to the date
  108.                          specified.
  109.  
  110.                 If the condition modifier is not specified, ')' is
  111.                 assumed.
  112.  
  113.                 Date values may be specified in any of the following
  114.                 formats:
  115.  
  116.                     MM/DD/YY   MM-DD-YY   DDMMMYY
  117.                     12/31/80   12-31-80   31DEC80
  118.  
  119.                 If xxx contains a numeric value, that positive number
  120.                 is used to calculate a date value a number of days
  121.                 prior to the current date.  Then that date is used
  122.                 as in the calculation above.
  123.  
  124.                 Example:
  125.  
  126.                 /D:(1JAN86  - Process files updated before 1JAN86
  127.                 /D:)1JAN86  - Process files updated after 1JAN86
  128.                 /D:=1JAN86  - Process files updated 1JAN86
  129.                 /D:(5  - Process files modified prior to 5 days ago
  130.                 /D:)5  - Process files modified within the last 5 days
  131.                 /D:=5  - Process files modified 5 days ago
  132.                                                                 Page  4
  133.  
  134.  
  135.       /E        Sends <ESC> 69 code to printer to force emphasized print.
  136.                 Use on dot matrix printers only.
  137.  
  138.  
  139.       /EX       Attempt to print the header and footer lines using
  140.                 dot matrix expanded print options.  If there is not
  141.                 enough room on the line this option will be ignored.
  142.  
  143.  
  144.       /HD       Print Header line that contains filename, date file
  145.                 was last updated, and page number.
  146.  
  147.  
  148.       /HP       Print Header line that contains Page number only.
  149.  
  150.  
  151.       /F        Print page footings at the bottom of each page.  This
  152.                 makes thumbing through listings to find a specific
  153.                 file much easier.
  154.  
  155.  
  156.       /FP       Print Footer line that contains Page number only.
  157.  
  158.  
  159.       /G        For printing C language source files.  This option
  160.                 prints ruler lines to help follow IF and DO sets
  161.                 of lines down and across pages.
  162.  
  163.  
  164.       /B:file   Begin.  Indicates that processing is not to start until
  165.                 the specified full filename is encountered in the
  166.                 scan of the directory.
  167.  
  168.  
  169.       /LL:nn    Number of characters to be allowed for each print
  170.                 line.  Longer lines will be truncated.
  171.  
  172.  
  173.       /LM:nn    Number of characters for the left margin.
  174.  
  175.  
  176.       /LP:nn    Lines per page.  66 lines assumed.  (11 inch * 6 lpi)
  177.  
  178.  
  179.       /N        Print a line number before each line printed.  Useful
  180.                 for printing program source listings.
  181.                                                                 Page  5
  182.  
  183.  
  184.       /PD:xxxx  Alternate print device name.  /PD:LPT2 will cause
  185.                 all output to be directed to printer 2.  LPT1 is
  186.                 assumed.  This can also be the name of a DOS file.
  187.  
  188.  
  189.       /S        laSer printer.  2-up side by side page printing
  190.                 in compressed format.  Requires lanscape font.
  191.  
  192.  
  193.       /SP:nnn   Start or restart printing with page number nnn.
  194.                 Previous pages will be skipped.
  195.  
  196.  
  197.       /T        Test the command.  Use this switch when you
  198.                 would like to test the command entered without
  199.                 actually printing any files.
  200.  
  201.                 Messages will indicate what will happen if the command
  202.                 is executed without the /T switch.
  203.  
  204.  
  205.       /TR       Truncate print lines that exceed the max line length
  206.  
  207.  
  208.       /TM:nnn   Number of top margin lines.
  209.  
  210.  
  211.       /V        Print program version and registration information.
  212.  
  213.  
  214.       /2E       Print only even numbered pages.  For 2 sided printing
  215.  
  216.  
  217.       /2D       Print odd numbered pages.  For 2 sided printing.
  218.                                                                 Page  6
  219.  
  220.  
  221.       Registering PPRINT
  222.       -------------------
  223.  
  224.       PPRINT is distributed under the Shareware concept.  This makes it
  225.       available for anyone to try without obligation.  If you decide it
  226.       is useful and want to keep it, I ask that you register your use
  227.       of it.  This will allow for continued support and maintenance of
  228.       the program and will help to encourage that more quality software
  229.       be made available through this channel.   We require all
  230.       corporate and government users of this utility register their
  231.       copies.
  232.  
  233.       To simply register the program, $15 is requested.  If you would
  234.       like the newest program disk and a copy of the manual send
  235.       $30.  If you would like to register all the Patriquin utilities,
  236.       and receive programs on disk and manuals, send $45.
  237.  
  238.  
  239.       Send registration requests to:
  240.  
  241.                       Norm Patriquin
  242.                       P.O. Box 8308
  243.                       San Bernardino, CA   92412
  244.  
  245.  
  246.       The registration charge is a one time fee that entitles you to
  247.       all future versions of the product.  These may either be obtained
  248.       from normal Shareware sources or directly from me.  Any
  249.       organization ordering more than 100 copies is also entitled to
  250.       telephone support and will be given the technical support number.
  251.  
  252.       Following is a form that may be used to register PPRINT.
  253.  
  254.                                                                 Page  7
  255.  
  256.                              PPRINT Registration
  257.                                  Version 2.0
  258.  
  259.  
  260.       Please Register PPRINT to the following person.  We will use ____
  261.       copies  of  the program and have enclosed $____ for each copy to
  262.       be used.
  263.  
  264.       **************************************************************
  265.  
  266.       _____ Registration only..............................   $15.00
  267.  
  268.       _____ Registration, program disk and manual..........   $30.00
  269.  
  270.       _____ Registration of all Patriquin Utilities with
  271.                program disks and manuals...................   $45.00
  272.  
  273.       _____ Update of newest Patriquin Utility disk with
  274.                manual.  ...................................   $15.00
  275.  
  276.       **************************************************************
  277.  
  278.  
  279.       Name: __________________________________________________
  280.  
  281.       Company: _______________________________________________
  282.  
  283.       Address: _______________________________________________
  284.  
  285.                _______________________________________________
  286.  
  287.       City: ______________________________  State: ___________
  288.  
  289.       Zip:  ______________________
  290.  
  291.       I obtained my copy of PPRINT from: ____________________________
  292.  
  293.       If BBS indicate name and number please._________________________
  294.  
  295.       ________________________________________________________________
  296.  
  297.       Please register the software under the following name:
  298.  
  299.       ____________________________________________________
  300.  
  301.               Send to:
  302.                       Norm Patriquin
  303.                       P.O. Box 8308
  304.                       San Bernardino, CA  92412
  305.                                                                 Page  8
  306.                                P P R I N T
  307.  
  308.       Problems and Maintenance
  309.       ------------------------
  310.  
  311.       I welcome all comments or enhancement suggestions. Please
  312.       document each item clearly and provide printed examples if
  313.       possible.  Please be sure to include this form with all requests,
  314.       it will help to make sure we can provide you with the best
  315.       possible service.
  316.  
  317.  
  318.       Name: __________________________________________________________
  319.  
  320.       Company: _______________________________________________________
  321.  
  322.       Address: _______________________________________________________
  323.  
  324.                _______________________________________________________
  325.  
  326.       City: __________________________________  State: _______________
  327.  
  328.       Zip: ______________________________
  329.  
  330.       Telephone: _______ / ________________________ (Home / Work)
  331.  
  332.  
  333.       Date: _________________________
  334.  
  335.       Description of problem or enhancement:
  336.  
  337.       ________________________________________________________________
  338.  
  339.       ________________________________________________________________
  340.  
  341.       ________________________________________________________________
  342.  
  343.       ________________________________________________________________
  344.  
  345.  
  346.       Suggested solution:
  347.  
  348.       ________________________________________________________________
  349.  
  350.       ________________________________________________________________
  351.                                                                 Page  9
  352.                                 P P R I N T
  353.  
  354.       Program Maintenance:
  355.       --------------------
  356.  
  357.       Version 1.0     October 15, 1986
  358.  
  359.       Version 2.0     March 6, 1987
  360.  
  361.          Many corrections were made to release 2.  It appears OK now.
  362.          Here is a short list.
  363.  
  364.          --  /LM (left margin) option corrected.  Was not working.
  365.          --  /LL (line length) option now works with headers.
  366.          --  Lines with more than 80 characters of data now work
  367.          --  /HD, /HP options added.  It is no longer the default to
  368.              print headers.  Use /HD and /HP to print headers.
  369.          --  /EX (expanded headings/footings)  if headings or footings
  370.              are desired in dot matrix expanded format, specify this
  371.              parameter.
  372.          --  Page ejected if printing terminated with escape
  373.  
  374.  
  375.  
  376.